Click here to show toolbars of the Web Online Help System: show toolbars |
date_date_string(date);
参数 | 描述 |
---|---|
date | The date to use. |
返回: String(字符串)
使用此函数你可以创建一个包含给定日期的字符串,格式为“日/月/年”。
str = date_date_string(date_current_datetime());
draw_text(32, 32, str);
这将会使"str"保存系统显示的当前日期和时间的格式化字符串。